package com.cyyz;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @ClassName NotFoundException
 * @Description TODO
 * @Author 简笔轩客
 * @Date 2020/5/29 22:34
 * @Version 1.0
 */

@ResponseStatus(HttpStatus.NOT_FOUND) //状态注解，页面找不到返回404
public class NotFoundException extends RuntimeException {
    public NotFoundException() {
    }

    public NotFoundException(String message) {
        super(message);
    }

    public NotFoundException(String message, Throwable cause) {
        super(message, cause);
    }
}
